﻿using Core.DataAccess.Model.Project.Order;
using Core.Framework.Model.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Core.Web.Controllers
{
    public class OrderShipmentsRequest
    {
        public List<OrderShipments> shipmentses { get; set; }

        public void Page(ApiClientInfo apiClientInfo)
        {

            if (this.shipmentses?.Count > 0)
            {
                foreach (var item in this.shipmentses)
                {
                    item.UserKey = apiClientInfo.Key;
                }
            }
        }
    }
}
